@echo off
echo Testing NVM-DEV for Windows
echo ==========================

echo Checking if nvm-dev.exe exists in bin directory...
if exist "bin\nvm-dev.exe" (
    echo [PASS] nvm-dev.exe found
) else (
    echo [FAIL] nvm-dev.exe not found
    echo You need to build the project first using build-dev.bat
    pause
    exit /b 1
)

echo.
echo Testing version command...
bin\nvm-dev.exe version
if %errorlevel% equ 0 (
    echo [PASS] Version command executed successfully
) else (
    echo [FAIL] Version command failed
)

echo.
echo Testing help command...
bin\nvm-dev.exe /?
if %errorlevel% equ 0 (
    echo [PASS] Help command executed successfully
) else (
    echo [FAIL] Help command failed
)

echo.
echo All tests completed.
pause